package com.literature.threeGroup.mapper;

import com.literature.threeGroup.pojo.Menu;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface MenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    /**
      * @name  菜单
     * @Author VULCAN
     * @Date 2020/1/11 10:03
     */
    List<Menu> treeMenu(String id);


    /**
      * @name  菜单列表
     * @Author VULCAN
     * @Date 2020/1/11 10:02
     */
    List<Menu> findmenu();

}